package nc.ui.fjpec.crm.crm_98h1h2;

import nc.ui.fjpec.crm.crm_98h1h2.btn.ChildButtionVO;
import nc.ui.rino.manage.BaseView;
import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.manage.ManageEventHandler;
import nc.vo.trade.button.ButtonVO;

@SuppressWarnings("serial")
public class View extends BaseView{
	@Override
	protected AbstractManageController createController() {
		return new Control();
	}

	@Override
	protected ManageEventHandler createEventHandler() {
		return new Action(this, getUIControl());
	}
	
	protected void initPrivateButton() {
		super.initPrivateButton();
		ChildButtionVO childBtn = new ChildButtionVO();
		addPrivateButton(childBtn.getButtonVO());
		ButtonVO[] btnVOs = childBtn.getChildBtn();
		for (ButtonVO buttonVO : btnVOs) {
			addPrivateButton(buttonVO);
		}
		
	}

}
